<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    // 获得请求的绝对地址
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>简历基本信息 - 锐聘网</title>
    <base href="<%=basePath%>">
    <link href="css/base.css" type="text/css" rel="stylesheet"/>
    <link href="css/resume.css" type="text/css" rel="stylesheet"/>
    <meta content="大学生求职,大学生就业,大学生招聘,IT人才,IT人才招聘,大学生名企招聘,,大学生找工作,IT名企招聘，IT行业招聘，IT企业快速入职" name="keywords">
    <meta content="锐聘专注于为企业提供高效的人力资源解决方案，同时面向IT类技术人才推出快速一站式免费就业服务。秉承QST青软实训人才服务理念，为数千家企业量身定做个性化、全程化的人才培养体系，同时帮助中高级人才铺设成功之路，为人才和企业架设起沟通之桥。"
          name="description">
    <!-- 日期控件js -->
    <script src="js/Calendar6.js" type="text/javascript" language="javascript"></script>
    <script type="text/javascript">
        function validate() {
            var realname = document.getElementById("realname");
            var telephone = document.getElementById("telephone");
            var email = document.getElementById("email");
            // 邮箱格式正则表达式
            var emailPattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;
            // 手机号格式正则表达式
            var phonePattern = /^(((13[0-9]{1})|159|153)+\d{8})$/;

            if (realname.value == "") {
                alert("姓名不能为空！");
                realname.focus();
                return false;
            }
            if (telephone.value == "") {
                alert("手机不能为空！");
                telephone.focus();
                return false;
            } else if (!phonePattern.test(telephone.value)) {
                alert("手机号格式不正确！");
                telephone.focus();
                return false;
            }
            if (email.value == "") {
                alert("邮箱不能为空！");
                email.focus();
                return false;
            } else if (!emailPattern.test(email.value)) {
                alert("邮箱格式不正确！");
                email.focus();
                return false;
            }
            return true;
        }
    </script>
</head>
<body>
<!-- 网站公共头部 -->
<jsp:include page="../top.jsp"/>

<!-- 我的简历页面 开始 -->
<div class="resume_con">
    <!--tab设置-->
    <div class="user_operate">
        <ul style="float: left">
            <li><a href="ResumeBasicinfoServlet?type=select">我的简历</a></li>
            <li class="tn-tabs-selected"><a href="JobApplyServlet?type=myapply">我的申请</a></li>
        </ul>
        <div class="clear"></div>
    </div>
    <!--主体部分-->
    <div class="resume_main">
        <!--左边-->
        <div class="resume_left">
            <div class="resume_title">
                <div style="float: left">基本信息</div>
            </div>
            <div class="all_resume" style="text-align: center;" align="center">
                <!--------------------- 简历基本信息添加 ------------------------->
                <form action="ResumeBasicinfoServlet?type=add" method="post" onsubmit="return validate();">
                    <div class="table_style" style="margin-left:150px;">
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">姓名：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="realname"
                                                                          name="realName"> <font
                                        style="color: red">*</font></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">性别：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="radio" name="gender"
                                                                          checked="checked" value="男">男&nbsp;&nbsp;
                                    <input
                                            type="radio" name="gender" value="女">女
                                </td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">出生日期：</td>
                                <td bgcolor="#F8F8F8" align="left"><input name="birthday" type="text"
                                                                          id="birthday" onclick="SelectDate(this)"
                                                                          readonly="readonly"/></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">当前所在地：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="currentLoc"
                                                                          name="currentLoc"></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">户口所在地：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="residentLoc"
                                                                          name="residentLoc"></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">手机：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="telephone"
                                                                          name="telephone"><font
                                        style="color: red">*</font></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">邮件：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="email"
                                                                          name="email"><font style="color: red">*</font>
                                </td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">求职意向：</td>
                                <td bgcolor="#F8F8F8" align="left"><input type="text" id="jobIntension"
                                                                          name="jobIntension"></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <table width="350" border="0" cellpadding="3" cellspacing="1"
                               bgcolor="#EEEEEE">
                            <tr>
                                <td width="110" align="right" bgcolor="#F8F8F8">工作经验：</td>
                                <td bgcolor="#F8F8F8" align="left"><select id="jobExperience" name="jobExperience">
                                    <option value="0">请选择</option>
                                    <option value="刚刚参加工作">刚刚参加工作</option>
                                    <option value="已工作一年">已工作一年</option>
                                    <option value="已工作二年">已工作二年</option>
                                    <option value="已工作三年">已工作三年</option>
                                    <option value="已工作三年以上">已工作三年以上</option>
                                </select></td>
                            </tr>
                        </table>
                        <div class="he"></div>
                        <div class="he"></div>
                        <div align="center">
                            <input name="" type="submit" class="save1" value="保存">
                            <input name="" type="reset" class="cancel2" value="取消">
                        </div>
                    </div>
                </form>
                <!--------------------- 简历基本信息添加 结束------------------->
            </div>
        </div>
        <!--右边-->
        <div class="it-aside">
            <div class="it-aside-fixed">

                <div id="resumeSavePreview">
                    <div class="it-comment-btn">
                        <a id="reviewResume"
                           class="tn-button tn-corner-all tn-button-text-only tn-button-preview"
                           href="#" plugin="dialog"> <span class="tn-button-text">简历预览</span>
                        </a> <a id="saveResume"
                                class="tn-button tn-corner-all tn-button-text-only tn-button-save"
                                href="javascript:;"> <span class="tn-button-text">保存简历</span>
                    </a>
                    </div>
                </div>

                <div id="resumeFull">
                    <div class="tn-instructions tn-border-gray tn-border-bottom">
                        <p class="tn-progress-text">
                            <span class="tn-text-note">简历完整度</span><strong class="tn-action">0%</strong>
                        </p>
                        <div class="tn-progress-bar tn-widget-content tn-corner-all">
                            <div
                                    class="tn-progress-bar-value tn-widget-header tn-corner-left tn-border-tbl"
                                    style="width: 0%"></div>
                        </div>
                    </div>
                    <div class="it-editdata-list">
                        <ul>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#Resume">基本信息</a> <span
                                    class="tn-icon it-icon-accept"></span></li>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#ResumesEducationExperience"> 教育经历</a> <span
                                    class="tn-icon it-icon-stop"></span></li>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#WorkExperience">工作经历</a> <span
                                    class="tn-icon it-icon-stop"></span></li>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#ResumesLanguageAbility"> 语言能力</a> <span
                                    class="tn-icon it-icon-stop"></span></li>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#ResumesProjectExperience"> 项目经验</a> <span
                                    class="tn-icon it-icon-stop"></span></li>
                            <li class="tn-editdata-bg"><a class="tn-button-text"
                                                          href="#ResumesHonour">获得证书</a> <span
                                    class="tn-icon it-icon-stop"></span></li>
                        </ul>
                    </div>
                    <div class="it-list-aid">
							<span class="tn-action tn-action-text-icon"><span
                                    class="tn-icon it-icon-accept"></span> <span
                                    class="tn-action-text tn-text-note">已填写</span></span> <span
                            class="tn-action tn-action-text-icon"> <span
                            class="tn-icon it-icon-stop"></span><span
                            class="tn-action-text tn-text-note">暂未填写</span>
							</span>
                    </div>
                </div>
            </div>
        </div>

        <div style="clear: both"></div>
    </div>
</div>
<!-- 我的简历页面结束 -->

<!-- 网站公共尾部 -->
<iframe src="foot.html" width="100%" height="150" scrolling="no"
        frameborder="0"></iframe>
</body>
</html>